package com.tanhua.domain.mongo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.core.mapping.Document;

/**
 * 用户冻结
 *
 * @author ZacharyJo
 * @date 2021/07/17 11:15:22
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Document(collection = "user_status")
public class UserFreeze implements java.io.Serializable{
    /**
     * id
     */
    private ObjectId id;
    /**
     *用户id
     */
    private Integer userId;
    /**
     *冻结时间
     * 1 冻结3天，2 冻结7天，3 永久冻结
     */
    private Integer freezingTime;
    /**
     *冻结范围
     * 1 冻结登录，2 冻结发言，3 冻结发布动态
     */
    private Integer freezingRange;
    /**
     *冻结原因
     */
    private String reasonsForFreezing;
    /**
     *冻结备注
     */
    private String frozenRemarks;
    /**
     *冻结次数
     */
    private Integer freezeCount;
    /**
     *解冻备注
     */
    private String reasonsForThawing;



    /**
     *冻结日期
     */
    private String freezeCreated;

    /**
     *解冻日期
     */
    private String unfreezeCreated;
}
